package com.server.modules.api.vo;

import com.server.modules.sys.entity.member.Member;
import com.server.modules.sys.entity.tag.Tag;
import org.codehaus.jackson.map.annotate.JsonSerialize;

import java.util.Date;
import java.util.List;

/**
 * Created by wanglei on 2016/7/20.
 */
@JsonSerialize(include = JsonSerialize.Inclusion.NON_NULL)
public class MemberVo<T> extends BaseQueryVo<T> {
    protected String id;
    protected String username;		// 用户名
    protected String password;		// 登录密码
    protected String hxUsername;		// 环信用户名
    protected String hxPassword;		// 环信登录密码
    protected String nickname;		// 昵称
    protected String realname;		// 真实姓名
    protected String sex;		// 性别
    protected String birthday;		// 出生日期
    protected String nation;		// 民族
    protected Integer maritalStatus;		// 婚姻状况
    protected String idCard;		// 身份证号码
    protected String nativeProvince;		// 籍贯（省/直辖市）
    protected String nativeCity;		// 籍贯（市/区）
    protected String nativeCounty;		// 籍贯（县/乡）
    protected String nativeDetail;		// 籍贯（详细地址）
    protected String residentProvince;		// 居住地（省/直辖市）
    protected String residentCity;		// 居住地（市/区）
    protected String residentCounty;		// 居住地（县/乡）
    protected String residentDetail;		// 居住地（详细地址）
    protected String email;		// 邮箱地址
    protected String qq;		// QQ号码
    protected String wx;		// 微信
    protected String deviceType;		// 设备类型
    protected String deviceId;		// 设备号
    protected String version;		// 软件版本
    protected String state;		// 用户状态
    protected Date loginTime;		// 登录时间
    protected String loginIp;		// 登录IP
    protected String sessionId;		// SessionID
    protected String note;		// 个人说明
    protected String face;		// 头像地址
    protected String company;		// 工作单位
    protected String companyType;		// 单位性质
    protected String job;		// 职务
    protected String entryTime;		// 入职时间
    protected String monthIncome;		// 月收入
    protected String accessToken;		// 第三方登录凭证
    protected String openId;		// QQ认证标识
    protected String unionId;		// 微信认证标识
    protected Integer isManager;		// 是否是经理
    protected String createIp;		// 创建的IP
    protected String updateIp;		// 修改的IP
    protected Integer balance;		// 账户余额
    protected String valiCode;
    private List<MemberTag> listTags;
    protected String telephone;		// 手机号码
    private String tags;
    public String getTags() {
        return tags;
    }
    public void setTags(String tags) {
        this.tags = tags;
    }


    public List<MemberTag> getListTags() {
        return listTags;
    }

    public void setListTags(List<MemberTag> listTags) {
        this.listTags = listTags;
    }


    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }


    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getRealname() {
        return realname;
    }

    public void setRealname(String realname) {
        this.realname = realname;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }


    public String getNation() {
        return nation;
    }

    public void setNation(String nation) {
        this.nation = nation;
    }

    public Integer getMaritalStatus() {
        return maritalStatus;
    }

    public void setMaritalStatus(Integer maritalStatus) {
        this.maritalStatus = maritalStatus;
    }

    public String getIdCard() {
        return idCard;
    }

    public void setIdCard(String idCard) {
        this.idCard = idCard;
    }

    public String getNativeProvince() {
        return nativeProvince;
    }

    public void setNativeProvince(String nativeProvince) {
        this.nativeProvince = nativeProvince;
    }

    public String getNativeCity() {
        return nativeCity;
    }

    public void setNativeCity(String nativeCity) {
        this.nativeCity = nativeCity;
    }

    public String getNativeCounty() {
        return nativeCounty;
    }

    public void setNativeCounty(String nativeCounty) {
        this.nativeCounty = nativeCounty;
    }

    public String getNativeDetail() {
        return nativeDetail;
    }

    public void setNativeDetail(String nativeDetail) {
        this.nativeDetail = nativeDetail;
    }

    public String getResidentProvince() {
        return residentProvince;
    }

    public void setResidentProvince(String residentProvince) {
        this.residentProvince = residentProvince;
    }

    public String getResidentCity() {
        return residentCity;
    }

    public void setResidentCity(String residentCity) {
        this.residentCity = residentCity;
    }

    public String getResidentCounty() {
        return residentCounty;
    }

    public void setResidentCounty(String residentCounty) {
        this.residentCounty = residentCounty;
    }

    public String getResidentDetail() {
        return residentDetail;
    }

    public void setResidentDetail(String residentDetail) {
        this.residentDetail = residentDetail;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note;
    }

    public String getFace() {
        return face;
    }

    public void setFace(String face) {
        this.face = face;
    }

    public String getCompany() {
        return company;
    }

    public void setCompany(String company) {
        this.company = company;
    }

    public String getCompanyType() {
        return companyType;
    }

    public void setCompanyType(String companyType) {
        this.companyType = companyType;
    }

    public String getJob() {
        return job;
    }

    public void setJob(String job) {
        this.job = job;
    }

    public String getMonthIncome() {
        return monthIncome;
    }

    public void setMonthIncome(String monthIncome) {
        this.monthIncome = monthIncome;
    }


    public String getTelephone() {
        return telephone;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone;
    }


    public String getBirthday() {
        return birthday;
    }

    public void setBirthday(String birthday) {
        this.birthday = birthday;
    }

    public String getEntryTime() {
        return entryTime;
    }

    public void setEntryTime(String entryTime) {
        this.entryTime = entryTime;
    }

    public Integer getBalance() {
        return balance;
    }

    public void setBalance(Integer balance) {
        this.balance = balance;
    }

    public String getOpenId() {
        return openId;
    }

    public void setOpenId(String openId) {
        this.openId = openId;
    }

    public String getUnionId() {
        return unionId;
    }

    public void setUnionId(String unionId) {
        this.unionId = unionId;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getHxUsername() {
        return hxUsername;
    }

    public void setHxUsername(String hxUsername) {
        this.hxUsername = hxUsername;
    }

    public String getHxPassword() {
        return hxPassword;
    }

    public void setHxPassword(String hxPassword) {
        this.hxPassword = hxPassword;
    }

    public String getQq() {
        return qq;
    }

    public void setQq(String qq) {
        this.qq = qq;
    }

    public String getWx() {
        return wx;
    }

    public void setWx(String wx) {
        this.wx = wx;
    }

    public String getDeviceType() {
        return deviceType;
    }

    public void setDeviceType(String deviceType) {
        this.deviceType = deviceType;
    }

    public String getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(String deviceId) {
        this.deviceId = deviceId;
    }

    @Override
    public String getVersion() {
        return version;
    }

    @Override
    public void setVersion(String version) {
        this.version = version;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public Date getLoginTime() {
        return loginTime;
    }

    public void setLoginTime(Date loginTime) {
        this.loginTime = loginTime;
    }

    public String getLoginIp() {
        return loginIp;
    }

    public void setLoginIp(String loginIp) {
        this.loginIp = loginIp;
    }

    @Override
    public String getSessionId() {
        return sessionId;
    }

    @Override
    public void setSessionId(String sessionId) {
        this.sessionId = sessionId;
    }

    @Override
    public String getAccessToken() {
        return accessToken;
    }

    @Override
    public void setAccessToken(String accessToken) {
        this.accessToken = accessToken;
    }

    public Integer getIsManager() {
        return isManager;
    }

    public void setIsManager(Integer isManager) {
        this.isManager = isManager;
    }

    public String getCreateIp() {
        return createIp;
    }

    public void setCreateIp(String createIp) {
        this.createIp = createIp;
    }

    public String getUpdateIp() {
        return updateIp;
    }

    public void setUpdateIp(String updateIp) {
        this.updateIp = updateIp;
    }

    public String getValiCode() {
        return valiCode;
    }

    public void setValiCode(String valiCode) {
        this.valiCode = valiCode;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
}
